.class public Lcom/ninesky/browser/user/UpdatePsdActivity;
.super Landroid/app/Activity;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Lcom/ninesky/a/a/a;


# instance fields
.field private final a:Ljava/lang/String;

.field private final b:Z

.field private c:Landroid/widget/EditText;

.field private d:Landroid/widget/EditText;

.field private e:Landroid/widget/EditText;

.field private f:Landroid/widget/Button;

.field private g:Landroid/widget/Button;

.field private h:Landroid/app/ProgressDialog;

.field private i:Lcom/ninesky/browser/a/u;

.field private j:Landroid/os/Handler;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    const-string v0, "NSBrowser.UpdatePsdActivity"

    iput-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->a:Ljava/lang/String;

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->b:Z

    new-instance v0, Lcom/ninesky/browser/user/l;

    invoke-direct {v0, p0}, Lcom/ninesky/browser/user/l;-><init>(Lcom/ninesky/browser/user/UpdatePsdActivity;)V

    iput-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->j:Landroid/os/Handler;

    return-void
.end method

.method private a(Landroid/widget/EditText;I)V
    .locals 1

    if-eqz p1, :cond_0

    invoke-virtual {p0, p2}, Lcom/ninesky/browser/user/UpdatePsdActivity;->getText(I)Ljava/lang/CharSequence;

    move-result-object v0

    invoke-virtual {p1, v0}, Landroid/widget/EditText;->setError(Ljava/lang/CharSequence;)V

    :cond_0
    return-void
.end method

.method static synthetic a(Lcom/ninesky/browser/user/UpdatePsdActivity;)V
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->h:Landroid/app/ProgressDialog;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->h:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->h:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->dismiss()V

    :cond_0
    return-void
.end method

.method static synthetic b(Lcom/ninesky/browser/user/UpdatePsdActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/ninesky/browser/user/UpdatePsdActivity;->c()V

    return-void
.end method

.method static synthetic c(Lcom/ninesky/browser/user/UpdatePsdActivity;)Lcom/ninesky/browser/a/u;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->i:Lcom/ninesky/browser/a/u;

    return-object v0
.end method

.method private c()V
    .locals 2

    invoke-virtual {p0}, Lcom/ninesky/browser/user/UpdatePsdActivity;->finish()V

    invoke-static {}, Lcom/ninesky/browser/user/g;->c()Lcom/ninesky/browser/user/g;

    move-result-object v0

    iget-object v1, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->c:Landroid/widget/EditText;

    invoke-virtual {v0, v1}, Lcom/ninesky/browser/user/g;->a(Landroid/view/View;)V

    invoke-static {}, Lcom/ninesky/browser/user/g;->c()Lcom/ninesky/browser/user/g;

    move-result-object v0

    iget-object v1, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->d:Landroid/widget/EditText;

    invoke-virtual {v0, v1}, Lcom/ninesky/browser/user/g;->a(Landroid/view/View;)V

    invoke-static {}, Lcom/ninesky/browser/user/g;->c()Lcom/ninesky/browser/user/g;

    move-result-object v0

    iget-object v1, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->e:Landroid/widget/EditText;

    invoke-virtual {v0, v1}, Lcom/ninesky/browser/user/g;->a(Landroid/view/View;)V

    return-void
.end method

.method static synthetic d(Lcom/ninesky/browser/user/UpdatePsdActivity;)V
    .locals 1

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->i:Lcom/ninesky/browser/a/u;

    return-void
.end method


# virtual methods
.method public final a()V
    .locals 3

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->i:Lcom/ninesky/browser/a/u;

    invoke-virtual {v0}, Lcom/ninesky/browser/a/u;->d()Lcom/ninesky/a/a/e;

    move-result-object v0

    check-cast v0, Lcom/ninesky/browser/a/m;

    invoke-virtual {v0}, Lcom/ninesky/browser/a/m;->h()Ljava/lang/String;

    move-result-object v0

    if-nez v0, :cond_0

    const-string v0, ""

    :cond_0
    new-instance v1, Landroid/os/Message;

    invoke-direct {v1}, Landroid/os/Message;-><init>()V

    const-string v2, "0"

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    const/16 v0, 0x64

    iput v0, v1, Landroid/os/Message;->what:I

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->d:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-interface {v0}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-static {}, Lcom/ninesky/browser/user/g;->c()Lcom/ninesky/browser/user/g;

    move-result-object v2

    invoke-virtual {v2, v0}, Lcom/ninesky/browser/user/g;->e(Ljava/lang/String;)V

    :goto_0
    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->j:Landroid/os/Handler;

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    return-void

    :cond_1
    const/16 v2, 0xc8

    iput v2, v1, Landroid/os/Message;->what:I

    iput-object v0, v1, Landroid/os/Message;->obj:Ljava/lang/Object;

    goto :goto_0
.end method

.method public final b()V
    .locals 2

    new-instance v0, Landroid/os/Message;

    invoke-direct {v0}, Landroid/os/Message;-><init>()V

    const/16 v1, 0x12c

    iput v1, v0, Landroid/os/Message;->what:I

    iget-object v1, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->j:Landroid/os/Handler;

    invoke-virtual {v1, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 9

    const v8, 0x7f070019

    const v7, 0x7f070018

    const/16 v5, 0x14

    const/4 v4, 0x6

    const/4 v6, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    invoke-direct {p0}, Lcom/ninesky/browser/user/UpdatePsdActivity;->c()V

    const-string v0, "ChangePassword"

    const-string v1, "Back"

    invoke-static {p0, v0, v1}, Lcom/mobclick/android/c;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    :sswitch_1
    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->c:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-interface {v0}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->d:Landroid/widget/EditText;

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-interface {v1}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->e:Landroid/widget/EditText;

    invoke-virtual {v2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-interface {v2}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v3

    if-ge v3, v4, :cond_2

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->c:Landroid/widget/EditText;

    invoke-direct {p0, v0, v8}, Lcom/ninesky/browser/user/UpdatePsdActivity;->a(Landroid/widget/EditText;I)V

    move v0, v6

    :goto_1
    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->i:Lcom/ninesky/browser/a/u;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->i:Lcom/ninesky/browser/a/u;

    invoke-virtual {v0}, Lcom/ninesky/browser/a/u;->i()V

    :cond_0
    invoke-static {}, Lcom/ninesky/browser/user/g;->c()Lcom/ninesky/browser/user/g;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/user/g;->d()Ljava/lang/String;

    move-result-object v2

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->c:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-interface {v0}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->d:Landroid/widget/EditText;

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-interface {v1}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    new-instance v3, Lcom/ninesky/browser/user/j;

    invoke-direct {v3}, Lcom/ninesky/browser/user/j;-><init>()V

    invoke-virtual {v0}, Ljava/lang/String;->getBytes()[B

    move-result-object v0

    invoke-virtual {v3, v0}, Lcom/ninesky/browser/user/j;->a([B)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1}, Ljava/lang/String;->getBytes()[B

    move-result-object v0

    invoke-virtual {v3, v0}, Lcom/ninesky/browser/user/j;->a([B)Ljava/lang/String;

    move-result-object v5

    new-instance v0, Lcom/ninesky/browser/a/u;

    const-string v3, "0"

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Lcom/ninesky/browser/a/u;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    iput-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->i:Lcom/ninesky/browser/a/u;

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->i:Lcom/ninesky/browser/a/u;

    invoke-virtual {v0, p0}, Lcom/ninesky/browser/a/u;->a(Lcom/ninesky/a/a/a;)V

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->i:Lcom/ninesky/browser/a/u;

    invoke-virtual {v0}, Lcom/ninesky/browser/a/u;->h()V

    new-instance v0, Landroid/app/ProgressDialog;

    invoke-direct {v0, p0}, Landroid/app/ProgressDialog;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->h:Landroid/app/ProgressDialog;

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->h:Landroid/app/ProgressDialog;

    invoke-virtual {v0, v6}, Landroid/app/ProgressDialog;->setProgressStyle(I)V

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->h:Landroid/app/ProgressDialog;

    invoke-virtual {v0, v6}, Landroid/app/ProgressDialog;->setIndeterminate(Z)V

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->h:Landroid/app/ProgressDialog;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/app/ProgressDialog;->setCancelable(Z)V

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->h:Landroid/app/ProgressDialog;

    const v1, 0x7f07002a

    invoke-virtual {p0, v1}, Lcom/ninesky/browser/user/UpdatePsdActivity;->getText(I)Ljava/lang/CharSequence;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/app/ProgressDialog;->setMessage(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->h:Landroid/app/ProgressDialog;

    new-instance v1, Lcom/ninesky/browser/user/k;

    invoke-direct {v1, p0}, Lcom/ninesky/browser/user/k;-><init>(Lcom/ninesky/browser/user/UpdatePsdActivity;)V

    invoke-virtual {v0, v1}, Landroid/app/ProgressDialog;->setOnCancelListener(Landroid/content/DialogInterface$OnCancelListener;)V

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->h:Landroid/app/ProgressDialog;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->h:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->isShowing()Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->h:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->show()V

    :cond_1
    const-string v0, "ChangePassword"

    const-string v1, "Update"

    invoke-static {p0, v0, v1}, Lcom/mobclick/android/c;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    :cond_2
    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-le v0, v5, :cond_3

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->c:Landroid/widget/EditText;

    invoke-direct {p0, v0, v7}, Lcom/ninesky/browser/user/UpdatePsdActivity;->a(Landroid/widget/EditText;I)V

    move v0, v6

    goto/16 :goto_1

    :cond_3
    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v0

    if-ge v0, v4, :cond_4

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->d:Landroid/widget/EditText;

    invoke-direct {p0, v0, v8}, Lcom/ninesky/browser/user/UpdatePsdActivity;->a(Landroid/widget/EditText;I)V

    move v0, v6

    goto/16 :goto_1

    :cond_4
    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v0

    if-le v0, v5, :cond_5

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->d:Landroid/widget/EditText;

    invoke-direct {p0, v0, v7}, Lcom/ninesky/browser/user/UpdatePsdActivity;->a(Landroid/widget/EditText;I)V

    move v0, v6

    goto/16 :goto_1

    :cond_5
    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v0

    if-ge v0, v4, :cond_6

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->e:Landroid/widget/EditText;

    invoke-direct {p0, v0, v8}, Lcom/ninesky/browser/user/UpdatePsdActivity;->a(Landroid/widget/EditText;I)V

    move v0, v6

    goto/16 :goto_1

    :cond_6
    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v0

    if-le v0, v5, :cond_7

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->e:Landroid/widget/EditText;

    invoke-direct {p0, v0, v7}, Lcom/ninesky/browser/user/UpdatePsdActivity;->a(Landroid/widget/EditText;I)V

    move v0, v6

    goto/16 :goto_1

    :cond_7
    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_8

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->e:Landroid/widget/EditText;

    const v1, 0x7f070029

    invoke-direct {p0, v0, v1}, Lcom/ninesky/browser/user/UpdatePsdActivity;->a(Landroid/widget/EditText;I)V

    move v0, v6

    goto/16 :goto_1

    :cond_8
    const/4 v0, 0x1

    goto/16 :goto_1

    :sswitch_data_0
    .sparse-switch
        0x7f0c0033 -> :sswitch_0
        0x7f0c009d -> :sswitch_1
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 2

    const/4 v1, 0x3

    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    invoke-virtual {p0, v1}, Lcom/ninesky/browser/user/UpdatePsdActivity;->requestWindowFeature(I)Z

    const v0, 0x7f03002d

    invoke-virtual {p0, v0}, Lcom/ninesky/browser/user/UpdatePsdActivity;->setContentView(I)V

    const v0, 0x7f02002c

    invoke-virtual {p0, v1, v0}, Lcom/ninesky/browser/user/UpdatePsdActivity;->setFeatureDrawableResource(II)V

    const v0, 0x7f0c0033

    invoke-virtual {p0, v0}, Lcom/ninesky/browser/user/UpdatePsdActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->g:Landroid/widget/Button;

    const v0, 0x7f0c009d

    invoke-virtual {p0, v0}, Lcom/ninesky/browser/user/UpdatePsdActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->f:Landroid/widget/Button;

    const v0, 0x7f0c009b

    invoke-virtual {p0, v0}, Lcom/ninesky/browser/user/UpdatePsdActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->d:Landroid/widget/EditText;

    const v0, 0x7f0c009c

    invoke-virtual {p0, v0}, Lcom/ninesky/browser/user/UpdatePsdActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->e:Landroid/widget/EditText;

    const v0, 0x7f0c009a

    invoke-virtual {p0, v0}, Lcom/ninesky/browser/user/UpdatePsdActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->c:Landroid/widget/EditText;

    invoke-static {}, Lcom/ninesky/browser/a/u;->f()Z

    move-result v0

    iget-object v1, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->f:Landroid/widget/Button;

    invoke-virtual {v1, v0}, Landroid/widget/Button;->setEnabled(Z)V

    iget-object v1, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->c:Landroid/widget/EditText;

    invoke-virtual {v1, v0}, Landroid/widget/EditText;->setEnabled(Z)V

    iget-object v1, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->c:Landroid/widget/EditText;

    invoke-virtual {v1, v0}, Landroid/widget/EditText;->setFocusable(Z)V

    iget-object v1, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->d:Landroid/widget/EditText;

    invoke-virtual {v1, v0}, Landroid/widget/EditText;->setEnabled(Z)V

    iget-object v1, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->d:Landroid/widget/EditText;

    invoke-virtual {v1, v0}, Landroid/widget/EditText;->setFocusable(Z)V

    iget-object v1, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->e:Landroid/widget/EditText;

    invoke-virtual {v1, v0}, Landroid/widget/EditText;->setEnabled(Z)V

    iget-object v1, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->e:Landroid/widget/EditText;

    invoke-virtual {v1, v0}, Landroid/widget/EditText;->setFocusable(Z)V

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->g:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->f:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 1

    packed-switch p1, :pswitch_data_0

    :cond_0
    :goto_0
    invoke-super {p0, p1, p2}, Landroid/app/Activity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v0

    return v0

    :pswitch_0
    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->h:Landroid/app/ProgressDialog;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->h:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/user/UpdatePsdActivity;->h:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->cancel()V

    goto :goto_0

    :pswitch_data_0
    .packed-switch 0x4
        :pswitch_0
    .end packed-switch
.end method

.method protected onPause()V
    .locals 0

    invoke-super {p0}, Landroid/app/Activity;->onPause()V

    invoke-static {p0}, Lcom/mobclick/android/c;->a(Landroid/content/Context;)V

    return-void
.end method

.method protected onResume()V
    .locals 0

    invoke-super {p0}, Landroid/app/Activity;->onResume()V

    invoke-static {p0}, Lcom/mobclick/android/c;->b(Landroid/content/Context;)V

    return-void
.end method
